# 构建基础镜像
# 从本地仓库拉取镜像并进行修改
#

FROM 172.27.1.160:5000/gfcentos67
MAINTAINER zs from china sc
COPY *.repo /etc/yum.repos.d/
COPY starthttpd.sh /usr/bin/
RUN echo “ this is tst” >/mnt/ok.txt;yum clean all ;yum install util-linux-ng httpd -y;yum clean all;chmod 755 /usr/bin/starthttpd.sh

# CMD 命令用法
CMD  ["/usr/bin/starthttpd.sh" ]





